<div class="body-height">

 <?php

  $sessiondata=$this->session->all_userdata();
  $username="";
  if(array_key_exists('username',$sessiondata)){
     $username=$this->session->userdata['username'];
     $company_name=$this->session->userdata['OrgName'];
  }

   if($username != ""){

   	    $data['page_id']=$page_id;
		$this->load->view('tenant-main.php',$data);

   }else{
	   	$this->load->view('tenant-page.php');

   }


	?>



</div>
